home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0177-Linking w⁄C++-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-25  |  1.2 KB  |  41 lines  |  [TEXT/GEOL]

  1. Item    1619554                         25-Oct-89        16:02
  2.  
  3. From:   D4280                           IDS, Robert Pappas, AST
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Linking w/C++
  8.  
  9.  
  10.  
  11.  
  12. Dear MacAppers:
  13.  
  14. I have 2 problems.
  15.  
  16. #1 - Is "Up your FCB's" really working? As soon as I switched over to C++ and
  17. MacApp, I still get the "too many files open" error. Anybody else have the same
  18. problem?
  19.  
  20. #2 - Linking C and C++.  I have a routine that I would like to just keep in C
  21. and have a method call it. This worked when I was using OOPascal.. Now, when
  22. using C++ I get the following error:
  23. ### Link: Error: Undefined entry, name: (Error 28)
  24. "get_Directory__FsPUcT2PPPA256_Uc"
  25.   Referenced from: TNAMETLVIEW_INAMETLVIEW in file: HD:MPW Projects:Source
  26. Code:FMP3.src:.Debug Files:Ufmp3.cp.o
  27. I double checked the ":.Debug Files:fmp3.MakeIt" file, and sure enough the I am
  28. linking the correct file. (Also, I didnt change my make file from when it
  29. worked in OOPascal)
  30.  
  31. To get this to work, I had C++ compile my C routine and everything worked fine
  32. and dandy.
  33.  
  34. This doesn't make sense to me since I am some stdlib functions such as strncpy
  35. and printf...
  36.  
  37. If anybody has some insight, please let me know.
  38.  
  39. Thanks, Bob Pappas, IDS Financial Services.
  40.  
  41.